package com.chat.system.service;

import com.chat.system.entity.dto.ApplicationDTO;
import com.chat.system.entity.dto.ChatUserDTO;
import com.chat.system.entity.po.ChatUserApplication;
import com.baomidou.mybatisplus.extension.service.IService;

import java.io.IOException;
import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author czh
 * @since 2023-10-28
 */
public interface IChatUserApplicationService extends IService<ChatUserApplication> {

    boolean addNewApplication(String from ,String to) throws IOException;

    void confirm(String id,String status);

    List<ApplicationDTO> getApplication(String userName);
}
